/* ============================================================
   AI FOR BUSINESS — Main Stylesheet
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0a0a0a;
  --bg-surface:   #121212;
  --bg-card:      #141414;
  --accent:       #4F85F6;
  --accent-dim:   rgba(79, 133, 246, 0.12);
  --text:         #F0F0F0;
  --text-muted:   #888;
  --text-dim:     #444;
  --border:       rgba(255, 255, 255, 0.07);
  --radius:       12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

em { font-style: italic; color: var(--accent); font-weight: inherit; }

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 48px;
}


/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(10,10,10,0.92), transparent);
  backdrop-filter: blur(4px);
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
}

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: 1px solid rgba(79, 133, 246, 0.35);
  padding: 10px 22px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 40px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,133,246,0.5), transparent 70%);
  top: -150px; left: -150px;
  animation: floatOrb1 9s ease-in-out infinite;
}

.orb-2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(79,133,246,0.35), transparent 70%);
  bottom: -100px; right: -80px;
  animation: floatOrb2 11s ease-in-out infinite;
}

.orb-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(120,80,255,0.25), transparent 70%);
  top: 40%; left: 55%;
  animation: floatOrb3 13s ease-in-out infinite;
}

@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(50px, 30px); }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-40px, -25px); }
}

@keyframes floatOrb3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-30px, 40px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.hero-tag      { font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; opacity: 0; }
.hero-headline { font-size: clamp(36px, 5.5vw, 64px); font-weight: 700; line-height: 1.1; margin-bottom: 28px; opacity: 0; }
.hero-sub      { font-size: 18px; font-weight: 300; color: var(--text-muted); margin-bottom: 44px; max-width: 520px; margin-left: auto; margin-right: auto; opacity: 0; }
.cta-btn       { display: inline-block; background: var(--accent); color: #fff; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; padding: 16px 36px; border-radius: 50px; border: none; cursor: pointer; transition: all 0.25s ease; opacity: 0; }
.hero-note     { margin-top: 16px; font-size: 13px; color: var(--text-dim); opacity: 0; }

.cta-btn:hover {
  background: #6B9BF8;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 133, 246, 0.35);
}


/* ============================================================
   OFFER SECTION
   ============================================================ */
.offer { padding: 120px 0; background: var(--bg-surface); }

.offer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
}

.offer-number {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
}

.offer-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.offer-card p  { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

.offer-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 32px;
}

.offer-highlight {
  background: var(--accent-dim);
  border: 1px solid rgba(79, 133, 246, 0.2);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.highlight-icon { color: var(--accent); font-size: 14px; flex-shrink: 0; }
.offer-highlight p { font-size: 15px; font-weight: 500; }


/* ============================================================
   WHY FREE SECTION
   ============================================================ */
.why { padding: 120px 0; border-top: 1px solid var(--border); }
.why-inner { max-width: 600px; }

.why-text {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.why-note { font-size: 14px; color: var(--text-dim); font-style: italic; }


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 120px 0; border-top: 1px solid var(--border); }

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 720px;
}

.testimonial-quote {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 32px;
}

.testimonial-name { font-size: 15px; font-weight: 600; }
.testimonial-role { font-size: 13px; color: var(--text-muted); margin-top: 4px; }


/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { padding: 140px 0; text-align: center; border-top: 1px solid var(--border); }
.final-sub { font-size: 16px; color: var(--text-muted); margin-top: -24px; margin-bottom: 40px; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 32px 40px; text-align: center; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-dim); }
.footer-link { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: var(--text); }
.footer-sep { margin: 0 10px; }


/* ============================================================
   FORM OVERLAY
   ============================================================ */
/* ── Backdrop ── */
.form-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.form-overlay.open { display: flex; }

/* ── Card ── */
.form-modal {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
.overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}

.overlay-back,
.overlay-close {
  background: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 8px;
  border-radius: 8px;
  transition: color 0.2s;
  min-width: 70px;
}

.overlay-back  { justify-content: flex-start; opacity: 0; pointer-events: none; }
.overlay-close { justify-content: flex-end; }
.overlay-back.visible { opacity: 1; pointer-events: all; }
.overlay-back:hover, .overlay-close:hover { color: #111; }

.form-progress {
  flex: 1;
  height: 2px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
  margin: 0 24px;
}

.form-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 0%;
}

/* ── Body ── */
.overlay-body {
  overflow-y: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 44px 40px 52px;
}

.form-steps { width: 100%; }

.form-step         { display: none; opacity: 0; }
.form-step.active  { display: block; }

.form-question {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: #111;
  line-height: 1.3;
  margin-bottom: 10px;
}

.form-hint { font-size: 14px; color: #888; margin-bottom: 32px; line-height: 1.5; }

.form-input {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  color: #111;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 300;
  padding: 16px 0;
  margin-bottom: 24px;
  outline: none;
  transition: border-color 0.25s;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-input:focus        { border-bottom-color: var(--accent); }
.form-input::placeholder { color: #bbb; }

.form-textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  color: #111;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  padding: 16px 0;
  margin-bottom: 32px;
  outline: none;
  resize: none;
  min-height: 120px;
  transition: border-color 0.25s;
}

.form-textarea:focus        { border-bottom-color: var(--accent); }
.form-textarea::placeholder { color: #bbb; }

.form-next-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.25s ease;
}

.form-next-btn:hover    { background: #6B9BF8; transform: translateY(-2px); }
.form-next-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Choice buttons */
.choice-grid           { display: grid; gap: 10px; }
.choice-grid--vertical { grid-template-columns: 1fr; }

.choice-btn {
  background: #f7f7f7;
  border: 1px solid rgba(0,0,0,0.1);
  color: #111;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 16px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.choice-btn:hover    { border-color: rgba(79,133,246,0.5); background: rgba(79,133,246,0.06); }
.choice-btn.selected { border-color: var(--accent); background: rgba(79,133,246,0.08); color: var(--accent); }
.choice-btn--wide    { width: 100%; }

.skip-note { margin-top: 20px; font-size: 13px; color: #aaa; text-align: center; }


/* ============================================================
   CONFIRM MODAL
   ============================================================ */
.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
}

.confirm-overlay.open { display: flex; }

.confirm-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 360px;
  width: 90%;
  text-align: center;
}

.confirm-title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.confirm-sub   { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }
.confirm-actions { display: flex; gap: 12px; }

.confirm-btn {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.confirm-btn--leave { background: transparent; color: var(--text-muted); }
.confirm-btn--leave:hover { color: var(--text); }
.confirm-btn--stay  { background: var(--accent); color: #fff; border-color: var(--accent); }
.confirm-btn--stay:hover { background: #6B9BF8; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav            { padding: 18px 24px; }
  .container      { padding: 0 24px; }
  .offer          { padding: 80px 0; }
  .offer-cards    { grid-template-columns: 1fr; }
  .why            { padding: 80px 0; }
  .final-cta      { padding: 100px 0; }
  .testimonials        { padding: 80px 0; }
  .testimonial-card    { padding: 32px 24px; }
  .testimonial-quote   { font-size: 16px; }
  .form-overlay   { padding: 0; align-items: flex-end; }
  .form-modal     { max-width: 100%; border-radius: 20px 20px 0 0; max-height: 95vh; }
  .overlay-body   { padding: 32px 24px 48px; }
  .form-progress  { margin: 0 16px; }
  .overlay-header { padding: 16px 20px; }
}
